package com.login.service;

import dto.Dto;
import dto.GetAdmin;
import org.springframework.web.bind.annotation.RequestParam;
import pojo.Admin;

import java.util.List;
import java.util.Map;


public interface LoginService {
    /**根据用户账号查询用户信息*/
    Dto<Admin> selectadmin(String username);

    /**查询用户权限*/
    List selectAdminPer(@RequestParam(value = "adminId") String adminId);

    List getAdmin1(Map<String,Object> map);

    int updateAdmin(List<GetAdmin> list);



}
